#ifndef STX_OBJECT_HANDLE_HPP
#define STX_OBJECT_HANDLE_HPP

namespace stx {

template<class T>
class object_handle
{
public:
    
    object_handle(T* ptr)
    {
        ptr_ = ptr;
    }
    
    object_handle(T& ref)
    {
        ptr_ = &ref;
    }
    
    T* ptr_;
};

} // namespace stx

#endif // STX_OBJECT_HANDLE_HPP
